<template>
    <div class="boxs">
        <el-carousel height="508px">
            <el-carousel-item v-for="item in list">
                <img :src="item" alt="">
            </el-carousel-item>
        </el-carousel>
    </div>
</template>

<script>
    export default{
        data(){
            return{
                list:[
                    '/1.jpg',
                    '/7.png'
                ]
            }
        }
    }
</script>

<style scoped>
    /* .boxs{
        width: 425px;
    } */
    .demonstration {
        color: var(--el-text-color-secondary);
    }

    .el-carousel__item img {
        width: 100%;
        height: 100%;
    }

    .el-carousel__item:nth-child(2n) {
        background-color: #99a9bf;
    }

    .el-carousel__item:nth-child(2n + 1) {
        background-color: #d3dce6;
    }
</style>